//
//  UILabel+Category.m
//  HengHuaSupervision
//
//  Created by XD-XY on 3/20/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "UILabel+Category.h"

@implementation UILabel (Category)

+(UILabel *)initLabel:(CGRect )rect textFont:(UIFont *)font textColor:(UIColor *)color textAlignment:(NSTextAlignment )alignment
{
    UILabel * label = [[UILabel alloc] initWithFrame:rect];
    label.backgroundColor = [UIColor clearColor];
    label.textAlignment = alignment;
    label.textColor = color;
    label.font  = font;
    return label;
}
@end
